﻿package wibrst.net {
	import flash.display.LoaderInfo;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author wibrst@qq.com
	 */
	public class ERes extends Event {
		
		/// event
		static public const ALL_READY:String = "ALL_READY";
		static public const IO_ERROR:String = "IO_ERROR";
		
		public function get sIdData():String { return _sIdData; }
		
		public function get loaderInfo():LoaderInfo { return _loaderInfo; }
		
		public function get sIdSeq():String { return _sIdSeq; }
		
		private var _type:String;
		private var _sIdData:String;
		private var _loaderInfo:LoaderInfo;
		private var _sIdSeq:String;
		
		public function ERes( type:String, sIdData:String, loaderInfo:LoaderInfo, sIdSeq:String = "" ) {
			super( type, false, false );
			this._type = type;
			this._sIdData = sIdData;
			this._loaderInfo = loaderInfo;
			this._sIdSeq = sIdSeq;
		}
		
		public override function clone():Event {
			return new ERes( this._type, this._sIdData, this._loaderInfo );
		}
		
		public override function toString():String {
			return formatToString( "_sIdData" );
		}
		
	}

}